﻿<Window x:Class="CPPEI.BD.VMTool.Views.SaveSolutionConfigWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="保存方案配置信息" Height="377" Width="555" WindowStartupLocation="CenterScreen" x:Name="saveSolutionConfigWindow">
    <Window.Resources>
        <Style x:Key="saveButton" TargetType="Button">
            <Setter Property="Background">
                <Setter.Value>
                    <ImageBrush ImageSource="../Images/save1.png"/>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="selectSaveButton" TargetType="Button">
            <Setter Property="Background">
                <Setter.Value>
                    <ImageBrush ImageSource="../Images/save-down.png"/>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="../Images/windowbg.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <Label Content="请填写自定义名称：" HorizontalContentAlignment="Right" Foreground="Black" FontSize="18" Margin="5" Height="33" Width="160"/>
            <TextBox x:Name="_ctlTextBoxName" Height="30" Width="300"/>
            
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="0">
            <Label Content="请选择类别：" HorizontalContentAlignment="Right" Foreground="Black" FontSize="18" Margin="5" Height="33" Width="160"/>
            <ComboBox x:Name="_ctlComboBoxSorts" Height="30" Width="300"/>
        </StackPanel>

        <StackPanel Orientation="Horizontal" Grid.Row="2">
            <Label Content="请选择序列号：" HorizontalContentAlignment="Right" Foreground="Black" FontSize="18" Margin="5" Height="33" Width="160"/>
            <ComboBox x:Name="_ctlComboBoxNum" Height="30" Width="300"/>
        </StackPanel>
        <StackPanel Grid.Row="3">
            <Button x:Name="_ctlBtnSave" Style="{StaticResource saveButton}" Content="保存当前配置" Height="35" Width="150" FontSize="18" Click="_ctlBtnSave_Click_1">
              
            </Button>
        </StackPanel>
    </Grid>
</Window>
